TEMPLATE = lib
CONFIG += qt staticlib warn_off create_prl
QT += opengl

HEADERS += alphamap.h environment.h light.h rendermanager.h \
		   color.h geometryrenderplugin.h material.h rendermanagerview.h \
		   colorlabel.h GLSLProgram.h openglrendercontrol.h renderplugin.h \
		   colormap.h GLSLShader.h openglrenderer.h transfermap.h \
		   environmentdialog.h IsocontourMap.h proteinrenderplugin.h volumerenderplugin.h
	   
SOURCES += alphamap.cpp environment.cpp IsocontourMap.cpp openglrenderer.cpp \
		   color.cpp environmentdialog.cpp light.cpp rendermanager.cpp \
		   colorlabel.cpp GLSLProgram.cpp material.cpp rendermanagerview.cpp \
		   colormap.cpp GLSLShader.cpp openglrendercontrol.cpp transfermap.cpp 
#		   renderplugin.cpp geometryrenderplugin.cpp volumerenderplugin.cpp \
#		   proteinrenderplugin.cpp
	   
FORMS += environmentdialog.ui openglrendercontrol.ui

# QMAKE_CXXFLAGS += -fvisibility=default

INCLUDEPATH += ../contrib/glut

linux {
	INCLUDEPATH += ../contrib/linux/glew/include
	LIBS += -L/lusr/lib/ -lglut
	DEFINES += __GNU__
}     

macx {
	INCLUDEPATH += ../contrib/macx/glew/include
	DEFINES += MACX_DEV __GNU__
	}
